package com.manage.server.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.manage.dto.UserPermissionDTO;
import com.manage.dto.add.UserPermissionAddDTO;
import com.manage.dto.update.UserPermissionUpdateDTO;
import com.manage.entity.UserPermission;
import com.manage.result.PageResult;
import com.manage.vo.UserPermissionVO;

/**
* @author ddw
* @description 针对表【user_permission(用户表_权限表)】的数据库操作Service
* @createDate 2025-04-13 13:37:08
*/
public interface UserPermissionService extends IService<UserPermission> {

    boolean save(UserPermissionAddDTO userPermissionAddDTO);

    boolean updateById(UserPermissionUpdateDTO userPermissionUpdateDTO);

    PageResult<UserPermissionVO> findUserPermissionByPage(UserPermissionDTO userPermissionDTO);
}
